<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>字典维护</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
        integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
    <script src="../utils/jquery-3.6.0.js"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
        integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd"
        crossorigin="anonymous"></script>
    <link rel="stylesheet" href="../css/gradeMaintenanc.css">

</head>

<body>
    <!-- 内容 -->
    <div class="context on">
        <div class="title">
            <h4>字典维护 </h4>
        </div>
        <div style="width: 50%; margin-top: 10px;">
            <ul class="nav nav-pills nav-justified liBtn" >
                <li role="presentation" class="active"><a href="#">事件等级维护</a></li>
                <li role="presentation"><a href="#">事件等级维护</a></li>
                <li role="presentation"><a href="#">事件原因维护</a></li>
            </ul>
        </div>
        <div class="search-box">
            <form class="form-inline">
                <div class="form-group">
                    <label for="exampleInputName2">
                        事件级别名称：</label>
                    <input type="text" class="form-control inquireInput" id="exampleInputName2">
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail2 ">事件内容：</label>
                    <input type="text" class="form-control inquireInput" id="exampleInputEmail2">
                </div>
                <div class="form-group">
                    <label for="exampleInputEmail2">拼音简写：</label>
                    <input type="text" class="form-control inquireInput" id="exampleInputEmail2">
                </div>
            </form>
            <div class="search-btn">
                <button type="button" class="btn btn-default inquire">查询</button>
                <button type="button" class="btn btn-default clearBtn">清除</button>
            </div>
        </div>
        <div class="btn-box">
            <button type="button" class="btn btn-info " data-toggle="modal" data-target="#addModal">添加</button>
            <button type="button" class="btn  btn-info reviseBtn" data-toggle="modal"
                data-target="#reviseModal">修改</button>
            <button type="button" class="btn  btn-info delBtn" data-toggle="modal" data-target="#delModal">删除</button>
        </div>


        <!-- 添加内容 -->
        <div class="modal fade" id="addModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                                aria-hidden="true">&times;</span></button>
                        <select class="form-control addLevel">
                            <option>--请选择--</option>
                            <option>A级</option>
                            <option>B级</option>
                        </select>
                        <div class="form-group">
                            <label for="exampleInputPassword1">级别ID:</label>
                            <input type="text" class="form-control addId " id="exampleInputPassword1">
                        </div>
                        <div class="form-group ">
                            <label for="exampleInputPassword1">级别名称:</label>
                            <input type="text" class="form-control addName " id="exampleInputPassword1">
                        </div>
                        
                        <div class="form-group">
                            <label for="exampleInputPassword1">级别描述:</label>
                            <input type="text" class="form-control addDescription" id="exampleInputPassword1">
                        </div>
                        <div class="form-group">
                            <label for="exampleInputPassword1">拼音代码:</label>
                            <input type="text" class="form-control addPhonetic" id="exampleInputPassword1">
                        </div>
                        <div class="form-group">
                            <label for="exampleInputPassword1">五笔代码:</label>
                            <input type="text" class="form-control addWuBi" id="exampleInputPassword1">
                        </div>
                    </div>
                    <div class="modal-body">

                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default  resetBtn">重置</button>
                        <button type="button" class="btn btn-primary  submitBtn">提交</button>
                    </div>
                </div>
            </div>
        </div>
        <!-- 修改 -->
        <div class="modal fade" id="reviseModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                                aria-hidden="true">&times;</span></button>

                        <div class="form-group ">
                            <label for="exampleInputPassword1">级别名称:</label>
                            <input type="text" class="form-control editName " id="exampleInputPassword1 ">
                        </div>
                        <div class="form-group">
                            <label for="exampleInputPassword1">级别内容:</label>
                            <input type="text" class="form-control editDescription" id="exampleInputPassword1">
                        </div>
                        <div class="form-group">
                            <label for="exampleInputPassword1">拼音代码:</label>
                            <input type="text" class="form-control editPhonetic" id="exampleInputPassword1">
                        </div>
                        <div class="form-group">
                            <label for="exampleInputPassword1">五笔代码:</label>
                            <input type="text" class="form-control editWuBi" id="exampleInputPassword1">
                        </div>
                        <div class="form-group">
                            <label for="exampleInputPassword1">备注:</label>
                            <input type="text" class="form-control editRemark" id="exampleInputPassword1">
                        </div>
                    </div>
                    <div class="modal-body">

                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default  resetBtn" data-dismiss="modal">取消</button>
                        <button type="button" class="btn btn-primary  submitEditBtn">提交</button>
                    </div>
                </div>
            </div>
        </div>


        <!-- 删除 -->

        <div class="modal fade" id="delModal" tabindex="-1" role="dialog">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                                aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title" id="myModalLabel">删除提醒</h4>
                    </div>
                    <div class="modal-body">
                        <span style="font-size: 20px;">您确定要删除吗？</span>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                        <button type="button" class="btn btn-primary del">确定删除</button>
                    </div>
                </div>
            </div>
        </div>

        <table class="table  table-hover " style='width:90%'>
            <thead>
                <tr style="background: #868686;">
                    <th><input type="checkbox" class="inputBtn"></th>
                    <th>事件级别名称</th>
                    <th>级别内容</th>
                    <th>拼音代码</th>
                    <th>五笔代码</th>
                    <th>备注</th>
                </tr>
            </thead>
            <tbody>
                <!-- <tr>
                            <td>
                            <td>不良后果事件</td>
                            <td>客观环境或条件可能引发错误（错误隐患）</td>
                            <td>-</td>
                            <td>-</td>
                            <td>-</td>
                        </tr> -->
            </tbody>
        </table>
        <nav aria-label="Page navigation" class="pagination-box">
            <ul class="pagination">
                <li>
                    <a href="#" aria-label="Previous" class="left">
                        <span aria-hidden="true">&laquo;</span>
                    </a>
                </li>

                <li>
                    <a href="#" aria-label="Next" class="right">
                        <span aria-hidden="true">&raquo;</span>
                    </a>
                </li>
            </ul>
        </nav>

    </div>
    
    
    <script src="../js/gradeMaintenanc.js"></script>
</body>

</html>